package com.rss;

import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.webkit.WebView;



public class muestraArticulo extends Activity {

    @Override
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        
		Window w = getWindow();
		w.requestFeature(Window.FEATURE_LEFT_ICON);
        setContentView(R.layout.muestra_articulo);
		w.setFeatureDrawableResource(Window.FEATURE_LEFT_ICON,R.drawable.icon);
        
        final String mimeType = "text/html";
        final String encoding = "utf-8";
        
        WebView wv;
       
        wv = (WebView) findViewById(R.id.wv1);
		//wv.setBackgroundResource(R.drawable.fondo);
      Bundle extras = getIntent().getExtras();
      String s = extras.getString("html");
      
        //wv.loadData(s, mimeType, encoding);
        wv.loadDataWithBaseURL(null, s, mimeType, encoding, null);
        


 
      }


}